package cn.iocoder.yudao.module.dr.controller.admin.collectionattachment.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 藏品附件分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CollectionAttachmentPageReqVO extends PageParam {

    @Schema(description = "附件主键", example = "24372")
    private String attachmentId;

    @Schema(description = "关联藏品主键", example = "19740")
    private Long collectionId;

    @Schema(description = "藏品总登记号", example = "19740")
    private String generalAccessionNumber;

    @Schema(description = "附件类型 1 图片 2 音频 3 视频 4 模型", example = "2")
    private String attachType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}